package services;

public class ResearchFile {
    /*
     * name - nazwa pliku
     * absolutePath - ścieżka absolutna
     * Path - ścieżka
     * size - rozmiar
     * isDirecory - czy plik jest katalogiem 
     */

    private String name, absolutePath, Path;
    private long size;
    private boolean isDirectory;

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getAbsolutePath() {
        return absolutePath;
    }

    public void setAbsolutePath(String absolutePath) {
        this.absolutePath = absolutePath;
    }

   
    public long getSize() {
        return size;
    }

    public void setSize(long size) {
        this.size = size;
    }

    public ResearchFile(String name, String absolutePath, String path, long size, boolean isDirectory) {
        this.name = name;
        this.absolutePath = absolutePath;
        this.size = size;
        this.isDirectory = isDirectory;
        this.Path = path;
    }

    /**
     * @return the isDirectory
     */
    public boolean isIsDirectory() {
        return isDirectory;
    }

    /**
     * @param isDirectory the isDirectory to set
     */
    public void setIsDirectory(boolean isDirectory) {
        this.isDirectory = isDirectory;
    }

    /**
     * @return the Path
     */
    public String getPath() {
        return Path;
    }

    /**
     * @param Path the Path to set
     */
    public void setPath(String Path) {
        this.Path = Path;
    }
}
